package com.boot.service;

import com.entities.CommonResult;
import com.entities.Payment;
import org.springframework.stereotype.Service;

/**
 * Description:
 *
 * @Autor: Rolin
 * datetime: 05-08-22:10
 */
@Service
public class FeignServiceImpl implements FeignService1 {

    @Override
    public CommonResult<Payment> test01(Integer id) {
        return new CommonResult<Payment>("OpenFeign 异常熔断！",400,new Payment(88L,"ErrorSerial"));
    }
}
